//
//  PictureQualityController.m
//  CMJWeibo
//
//  Created by BH on 16/1/8.
//
//

#import "PictureQualityController.h"
#import "CMJCommonCheckGroup.h"
#import "CMJCommonCheckItem.h"

@interface PictureQualityController ()

@end

@implementation PictureQualityController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    self.title = @"图片浏览设置";
    
    [self setupItems];
}

-(void)setupItems
{
    CMJCommonCheckItem *adapt = [CMJCommonCheckItem itemWithTitle:@"自适应"];
    adapt.subttile = @"普通网络下加载小图，wifi加载大图";
    
    CMJCommonCheckItem *high = [CMJCommonCheckItem itemWithTitle:@"高清"];
    high.subttile = @"质量较高，图片更清晰";
    
    CMJCommonCheckItem *normal = [CMJCommonCheckItem itemWithTitle:@"普通"];
    normal.subttile = @"流量最少，速度最快";
    
    CMJCommonCheckGroup *group = [self addCheckGroup];
    group.items = @[adapt,high,normal];
    group.checkIndex = 0;
}


@end
